import request from '@/utils/request'
//头像删除 无需token认证
export const delAvatar = (fileUrl: string) => {

  return request(`/api/upload/avatar/delete`, 'post',{fileUrl})
}
// 文件删除 需要token认证
export const delFile = (url: string) => {
  return request(`/api/upload/file/${url}`, 'delete')
}

